package com.woniu.commentorder.service.serviceImp;

import com.hc.entity.WalletOpr;
import com.woniu.commentorder.mapper.WalletOprMapper;
import com.woniu.commentorder.service.WalletOprService;
import com.woniu.commentorder.service.WalletService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class WalletOprServiceImp implements WalletOprService {
    @Autowired
    private WalletOprMapper walletOprMapper;
    @Override
    public int  add(WalletOpr walletOpr) {
        walletOprMapper.addWalletRecord(walletOpr);
        return walletOpr.getWalletId();
    }
}
